import { createApp } from 'vue'

import './style.css'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import {createPinia} from "pinia";
import axios from "./utils/axios.js";
const pinia = createPinia();

const app = createApp(App);
app.config.globalProperties.$axios = axios;  // 将axios添加到Vue全局属性中
app.use(ElementPlus).use(router).use(pinia);

app.mount('#app');
